home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
X User Tools
/
X User Tools (O'Reilly and Associates)(1994).ISO
/
sun4c
/
archive
/
tcltk.z
/
tcltk
/
man
/
catn
/
append.n
< prev
next >
Wrap
Text File
|
1994-09-20
|
907b
|
67 lines
append(n) Tcl Built-In Commands
_________________________________________________________________
NAME
append - Append to variable
SYNOPSIS
append _v_a_r_N_a_m_e _v_a_l_u_e ?_v_a_l_u_e _v_a_l_u_e ...?
_________________________________________________________________
DESCRIPTION
Append all of the _v_a_l_u_e arguments to the current value of
variable _v_a_r_N_a_m_e. If _v_a_r_N_a_m_e doesn't exist, it is given a
value equal to the concatenation of all the _v_a_l_u_e arguments.
This command provides an efficient way to build up long
variables incrementally. For example, ``append a $b'' is
much more efficient than ``set a $a$b'' if $a is long.
KEYWORDS
append, variable
Tcl 1